package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.EquipmentPurchase;

/**
 * 设备购买Service接口
 * 
 * @author ruoyi
 * @date 2024-05-08
 */
public interface IEquipmentPurchaseService 
{
    /**
     * 查询设备购买
     * 
     * @param purchaseId 设备购买主键
     * @return 设备购买
     */
    public EquipmentPurchase selectEquipmentPurchaseByPurchaseId(Long purchaseId);

    /**
     * 查询设备购买列表
     * 
     * @param equipmentPurchase 设备购买
     * @return 设备购买集合
     */
    public List<EquipmentPurchase> selectEquipmentPurchaseList(EquipmentPurchase equipmentPurchase);

    /**
     * 新增设备购买
     * 
     * @param equipmentPurchase 设备购买
     * @return 结果
     */
    public int insertEquipmentPurchase(EquipmentPurchase equipmentPurchase);

    /**
     * 修改设备购买
     * 
     * @param equipmentPurchase 设备购买
     * @return 结果
     */
    public int updateEquipmentPurchase(EquipmentPurchase equipmentPurchase);

    /**
     * 批量删除设备购买
     * 
     * @param purchaseIds 需要删除的设备购买主键集合
     * @return 结果
     */
    public int deleteEquipmentPurchaseByPurchaseIds(Long[] purchaseIds);

    /**
     * 删除设备购买信息
     * 
     * @param purchaseId 设备购买主键
     * @return 结果
     */
    public int deleteEquipmentPurchaseByPurchaseId(Long purchaseId);
}
